﻿using AutoMapper;
using CoreTools.Domain.Entity;
using CoreTools.DTO.MapperDto;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoreTools.AutoMapper.MapProfile.EntityMap
{
   public class UserInfoProfile: Profile,IProfile
    {
        public UserInfoProfile()
        {
            //用户
            CreateMap<UserInfoDto, UserInfoEntity>();
            CreateMap<UserInfoEntity, UserInfoDto>();
        }
    }
}
